package com.webside.points.mapper;

import java.util.List;

import com.webside.points.model.AdvertisingEntity;

public interface AdvertisingMapper {
	
	public List<AdvertisingEntity> findAll();
	
	public int insert(AdvertisingEntity advertisingEntity);
	
	public int delete(int id);
	
	public AdvertisingEntity findById(int id);
	
	public AdvertisingEntity findByLocation(String location); 
	
	public int update(AdvertisingEntity advertisingEntity);
	
	public int updateStatus(AdvertisingEntity advertisingEntity);

}
